package com.hos.entity.hos;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author ：WuBai-T
 * @date ：Created in 2023/12/22 11:56
 * @description：健康新闻表
 * @modified By：
 * @version:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("health_news")
public class HealthNews {

    @TableId
    private String newsId;

    private String imagUrl;

    private String newsTitle;

    private String newsContent;

    private String newsSource;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private String createBy;

    private LocalDateTime updateTime;
}